package com.imooc.mapper;

import com.imooc.pojo.Users;
import com.imooc.utils.MyMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UsersMapper extends MyMapper<Users> {
    List<Users> selectAllNickName(Integer userId);
    int insertUser(Users users);
    Users getUsername (String username);
    void  addFriend(int userId, int AcceptId);
}